const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
  chainWebpack: config => {
    config
      .plugin('html')
      .tap(args => {
        args[0].title = '小区消防检查'
        return args
      })
  },
  transpileDependencies: true,
  devServer: {
    // 开启自动打开浏览器功能
    open: true,
    //项目启动端口
    port: 8888,
    //关闭全屏报错
    client: {
      overlay: false
    }
  }
})
